package com.bawei.module_goods.ui

import android.content.Context
import android.util.AttributeSet
import androidx.recyclerview.widget.RecyclerView

/**
 * 禁用过度滚动效果的 RecyclerView
 */
class NoBounceRecyclerView @JvmOverloads constructor(
    context: Context,
    attrs: AttributeSet? = null,
    defStyleAttr: Int = 0
) : RecyclerView(context, attrs, defStyleAttr) {

    init {
        // 禁用过度滚动效果
        overScrollMode = OVER_SCROLL_NEVER
    }
} 